package com.scut.campus.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.scut.campus.entity.base.BaseDO;
import lombok.Data;

@Data
public class SubComment extends BaseDO {
    /**
     * 评论id,pk
     */
    @TableId
    private Long commentId;

    /**
     * 评论者id
     */
    private Long userId;

    /**
     * 归属一级评论id
     */
    private Long lastId;

    /**
     * 帖子id
     */
    private Long postId;

    /**
     * 直接回复的评论id
     */
    private Long lastCommentId;
    private String content;
    private Integer likeNum;
    private Short status;
}
